Piwik\Plugins\UserCountry\LocationProvider A

Total Complexity 66
Dependencies 11
Dependents 21
Total lines 523
Lines of code 208
Logical lines of code 122
Comment lines 213
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
prettyFormatLocation()
A
45 14 40
completeLocationResult()
A
49 11 34
getAllProviderInfo()
S
45 6 43
getAllProviders()
S
62 4 12
getProviderById()
S
66 4 8
getIpFromInfo()
S
65 3 8
getCurrentProviderId()
S
66 3 8
getAvailableProviders()
S
66 3 9
setCurrentProvider()
S
63 2 11
getDefaultProviderId()
S
71 2 6
getLocationProviders()
S
67 2 8
isAvailable()
S
100 1 0
getUsageWarning()
S
82 1 3
isVisible()
S
82 1 3
activate()
S
91 1 2
getCurrentProvider()
S
79 1 3
renderSetUpGuide()
S
82 1 3
renderConfiguration()
S
82 1 3
getSupportedLocationInfo()
S
100 1 0
getId()
S
76 1 4
getInfo()
S
100 1 0
isWorking()
S
100 1 0
getLocation()
S
100 1 0